package com.java.grammer.oop;

/**
 * @author luzhikun
 * @date 2020/11/29- 10:57
 */
public class Phone_2 {
    private String brand;
    private int price;

    public Phone_2() {

    }

    public Phone_2(String brand, int price) {
        this.brand = brand;
        this.price = price;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getPrice() {

        return price;
    }
}
